Inline the volatility computation into the main loop of the volatility function.

This will hopefully let the system box less and make it run faster in the main computation of the code base.
Inlining.