fixed stupid bug with norm computation in dictionary normalization