LeastMeanSquare written by Songtao