I want to perform a linear fit by using least squares method. For example: I have x1, x2, x3, x4, x5, and I also have corresponding 5 measurements for each xi, i.e., (y11, y12,...,y15), (y21, y22,...,y25),..., (y51, y52,...,y55). I need to use these data to construct a linear function. How to do that?