Adding vector library
Adding vector functions