Fixes for the centre of mass function.
Authored by: bugman 2008-04-07
Parent: [r5365]
Child: [r5367]