Move fitness function to Individual.java