Added the option to render the granularity grid. Turned pathmaking and polygon calculation for fields into a unique class, which is assigned to each field as an attribute.