Changed method signature of StoreIndex

StoreIndex now expects a DocumentVector as argument.