Update vector object to accept both input and operand. Also, change vectors from objects to dictionaries keyed by x,y,z.