Updated rm pf function to include lags and re-ran tests