-fixed improper indexing on c_indA on line 142