mandelbrot_set kernel now takes all parameters in