corrected name of mandelbrot
Tiny speed optimisations

Made the code even worse. Seriously needs a clean up now.