recommit calc_match_bonus.m