initial tests for matrix inversion functions