tested matrix inversion function