Attempting to make performance improvements by only calculating the distance and color of calls to drawPixel(some_index) when we know that some_index will return non-zero value. This didn't fix the issue... but helped a bit.