Linear scaling solution of the coulomb problem using wavelets