Function that generates unit random vectors and takes (weighted) projections onto the random unit vectors given a bag of words
Useful links