Made mandelbrot easy to implement in cuda