Typos

Fixed some typos - some in comments, some in the actual function names.