CIDEVMI-1067 Extended OPTAA subfunction and added OPTAA wrapper-function unit tests.

Trapped out cases when scatter correction to absorption is not appropriate and added unit tests.
Modified subfunctions to enable wrapper function execution and added unit tests.