cleaning up the algorithm to use new mapcube functionality; changes so that the solar limb and grid can be plotted at the same time as the extracted wavefront