updated julia function to match mandelbrot style