Fixed Typos and added a few comments