Fixed spelling and updated some comments