added the function to minimize L1 of autocorrelation of the prediction error