using orgSeqId instead of row.names to identify rows

fix a typo in "f_sumAI" function