fixed bugs in map_reravel function.
added additional plotting routines to display wave parameters.
now include the model of the detected wave as an output, transformed back into heliocentric coordinates. Transform parameters are now also saved as an output.