Macro to calculate track matching efficiency