Updated to math.js v0.18.1