Add more comments to jacobian method