doc and bugfix of Convex.prototype.updateCenterOfMass
added Convex test