added matrix inverse for any NxN matrix.

matrix inverse is not optimized, in the future time might be spent
optiziming inverse for 4x4 matrices.