added documentation to first 3 functions of vector_space.py