Collection of numerical methods (root finding, integration, etc.) translated to Javascript