Added function for getting fitness of all individuals