Fixed typos

Fixed the majority of typos which are causing errors