Change code for rigid body access to use attributes instead of methods; also add documentation to epydoc.