Implement historical volatility calculation

Tested using AAPL stock price against example from http://www.macroption.com/historical-volatility-of-apple-stock-aapl/