change envelope metric from distance to water depth
rename plot_test3 to plot_fluxcor and add replacement