normalize function

Normalize all word vectors to the unit length 1.