Embedding fixes and better negative sampling

Fix a bunch of misc embedding bugs, and exact negative sampling option using the Alias Method