Start of getting vw_envelope_sum view working, 2/3 of fns now working