added matrix inversion class (needs to be tested)
jacobian calculator