Calculating Centre Of Gravity