Added arithmetic recombination (works slightly better).
Changed a few things to get the submission to work.
Cleaned up the code a bit.