Changed colon syntax to obtain self in polygon.lua;