Made center of mass math more sane.