Small changes and added CodeBook.m