Corrections to the Black/White dots fix

As DarkTide pointed out, the new overloaded double definitions in mathOptimizations.h are causing fireflies and not really necessary, so I have removed them. Now the remaining fireflies seem to be fixed.