Added volatility function