Fixing the fitness function...
Put initialization in a separate init() function.