rigidbody math corrections & ragdoll tweaks for stability