Add source code comments
Realize masking in terms of the basic template type
Fix hyphenation in comment
Don't specify namespace std:: when it's being used