correct grayscale generation of Buddhabrot