Add minimum and NOD-functions to Polygon-class