Core math library containing numerical methods.