Function now returns lag

Additionally, returns Lag at which partial corr is calculated.