clean up Vector, add mulAdd method
Merge pull request #1491 from jrenner/vector

clean up Vector, add mulAdd method