Parallel and perpendicular axis theorem,General motion of rigid bodies