Add standard deviation.

Closes #19.
Merge pull request #23 from rhattersley/std

Add standard deviation.