Add div by zero check
added vol curve input value calculation