MadelBrot 3D with Swift