Multiple changes

- Documentation update.
- Update in the implementation of vector.