code for moment_of_inertia and RoPS classes, tests and tutorials