least squares approximation and LR splines