added simple historical volatility calculation