added the possibility to return the calculated centers in each respective step. one may also now provide initial centers for results which are to be reproduced. added function to save plots.