Localized bases in L 2 ( 0 , 1 ) and their use in the analysis of Brownian motion