Attempted to remove some discontinuities

...in the fitness function. Still some trouble with local minima. TODO:
try better interval-dividing approach, and investigate covariance matrix
adaptation.