fix mandlebrot calc function

You probably meant to increment the iterations