cleanups/documentation for the fractal flame colouring algorithm