fix pointByValue method when working with singleVector

fixes Skookum/cheetah#798