Update fitnessFunctions.py

Bugfix for AP overshoot.