Minor changes to physics code.