Prasoons vector

Prasoon,
I know you got a little behind, so I tried to clean a few things up in vector.py for you and Sachin. Commit logs should explain the main changes, but there are some others too - just ask.