started to code some metrics for matchings. Finished gui