Modified the files by changing variable names and updating
documentation.