Fixed more bad maths.