Raise more specific error message for non-2D Jacobians

- Added check for non 2D jacobians to raise more appropriate error message