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