make sure notes are vectors so that swapv! can be used with notes