Work updates

Changes maths function, relies on bc