Fixed normalize
Merge pull request #8 from Fjandin/master

Fixed normalize