Changes in secondOrderFun::C to correct division by 0 when 2 components are in very deep waters