fix pointByValue method when working with singleVector
Merge pull request #2 from snodgrass23/master

fix pointByValue method when working with singleVector