Modified get_bounds to throw specific error for non-2D Jacobians.
Added tests for provideJ errors.
Merge pull request #1860 from crobinsonut/jacobian-dimension

Raise more specific error message for non-2D Jacobians