Fixed all the problems regarding the fitness values