Cost function now abs(tau) instead of tau^2.