Fixed Fitness Function

The distance function now works correctly.
Advanced fitness features (such as configuration comparison) can now be
re-implemented.
Tournament VS Roulette Wheel Selection still needs to be evaluated.