Fixed some jacobian things