added energy functions to wavelet subbands class