Mxn Matrices do not have an inverse solution for m ≠ n, so your 2x4 will not have a solution.
<span>Generally, inverting matrices is done through finding the determinant of the square matrix and then performing an operation on the matrix based on the size of the matrix. </span>
<span>Wikipedia has a good article on Matrix inversion, take a look there for more information.</span>