changed the pn sim to return only the end result instead of the timeseries