Corrected code; Updated readme file and codebook