Add standard deviation.

Closes #19.