Revert "changes to maths"

This reverts commit c75ffe488cde4a2be7cf74afa6c09dd12914268d.