Refactor on volatility
- move std_dev math to enumerable
- guard against div by zero
- [Finishes #51842795]