fixed a bug with the masses and fixed the GUI
fixed a bug with the masses and fixed the GUI