Creating dictionary from sift vectors and translating to vws in spark