normalization: avoid division by zero for constant feature dimensions
Merge pull request #148 from martinsch/normalization_fix

Normalization: avoid division by zero for constant feature dimensions