deleted some redundant functions -KL

Also modified comments -KL