Fixed error in WaveletMatrix::map()