Final commit. Returning more closely to the example of makeVector.R, adding comments above functions.