Refactored plot_gaugewave and added plot_gaugewave_kxx and plot_gaugewave_gxx