Implemented operations performed on vectors

still need to implement operations on vectors and scalars