new math lib requires numpy