Edited typos and fixed comments