more work on the different fitness functions, added a lot of debugging tools