modified parameters, commented out extraneous print statement in
powerspectrum