Added output to file.
Made evolution actually work (fixed maximization vs. minimization checks)