Fixed some typos, added copyright notice