Added angular and linear factors to rigid_body

This lets one constrain to axis. A 2d Game for example.