added computeMCC() functions