Fix computeFitness bugs

Might now run slower on non-64bit builds.