Kappa function runs correclty but returns wrong number. Correct row but not correct column. Error in traverse row part?
Kappa function runs correclty but returns wrong number. Correct row but not correct column. Error in traverse row part?

PaulMag/AST3310-Prj01,PaulMag/AST3310-Prj01