a good material. you can get the best description about least squares