Added docstring to vectify