fix small bug in fitness function. result should be negative