mandelbrot: added image parameter calculation