mandelbrot: again, added image parameter calculation