Add some trace statements to compareWithVariances to help figure out what the correct values should be. Add some tolerances to tests which failed bitmap cmpares on Windows.