Changed the program to keep system mass constant.
Merging.