A collection of numerical method functions