A 3x3 matrix solver that reduces a given matrix to its rref