function d=del(t)
%used in delta for wavelet construction of BM
d=2*max(0,min(t,1-t));