Update maths.R