added CM calculation and plotins, also started non-animation simulation