Implemented correct center of mass and total momentum. Set cool time and h.