using fitness based on squared sum of abs-diff at each datapoint