Updated center mass calculations