Algorithms for function approximation.