Added getPerimeter() to region objects.