Added mandelbrotStep method