added functionality for vector addition. bugs to be worked out.