CIDEVMI-1070: OPTAA - Improved performance of opt_tempsal_corr

Overall OPTAA performance increase of ~ x4 due to optimization in opt_tempsal_corr.

@s-pearce Ready for review and merge
@cwingard Ready for review and merge