fixed spelling in various comments throughout the code as suggested in #253