...
where the weights w and merits M are drawn from multiple considerations. We'll tune values of M to range from 0 to 1, where they saturate.
For the atan() function, tau_1 determines the 50% point and tau_2 the slope of the merit function at that point.
...