lag1 and lagn work but lead1 is broke
working lag for int and float arrays
lag_array works for int and float