Multiscale basis functions