Added regions and comments to the rigidbody class