Code clean up

Cleaned up some typos in the code to make everything more compliant.