update to latest math.js