Added the function that plots pearson lags

Just note the error bars