added center of mass calculation and gui information overlay for two largest contours