changed calculateCenterOfMass from public to private, added comments fro calculateMinDis in ScaleConfiguration.java