Created a wpm function.
Merge pull request #2 from fox-squirrels-2013/wpm

Created a wpm function.