subj ic computation verified in python