Least Squares Rational Approximation