had to comment out jacobian calculation as advised by KDykes.
updating develop branch with updated gradients from master