add makeVector.R to repo