Fixed warning about unsigned/int mismatch in momentumjacobian