Updated code to run pf simulations on same simulated data setsand construct plots