changing math lib from sylverter to mjs