Changed scoring from squaring to absolute value