added new plotting file + bug fix in powerspectrum calculation, now multiple generations work