Added examples for the rest of the functions. Also fixe a few spelling
mistakes in the inline comments.