Update maths.js