Simplified equation variable check.
Added validation to prevent divide-by-zero-error in WACC equation.  Also updated the ModValue.
Forgot to uncomment something.