Expand 'freq' to 'frequency' in var names
Second section of CodeBook.m