Fixed typos

Also using texmaker, hopefully fixed some of the previous issues.