Created: Tests for center of mass.
Update: Improved variable names and doc strings.
Update: Improved function names.
Update: Replaced assert_equal with assert_allclose
Update: Finished center of mass.