Added more functions to vector. Partial implementation.