How are the coefficients in MR-QAP calculated?