Add DV01 calculator and clean up example for reuse