G_numeric: put convergence/acceleration transofrmations into helper functions.