added function declarations to vector 2, commented out regions
doing matrixes