CIDEVMI-1069 Vectorized OPTAA functions and added performance tests

OPTAA data product functions: vectorized and added performance tests.
Also fixed error handling of a sfl_trhph function 


@s-pearce Ready for review and merge
@cwingard Ready for review and merge