Some fixes to lorentz package