add solving functions for 2x2 and 3x3 matrixes.
add tests for Matrix2.solve, Matrix3.solve2 and Matrix3.solve and fixed the solve functions.