Added comments to cachevector.R