Added function to set cells in a polygon to a specific value, comments.