principle of motion of centre of mass