Fixed mex/non-mex logic in geometricJacobian