Added center of mass example