Added index word vector to word matrix and tests.