Update fields.lua

first version with a second loop to refine edges if angle between points over 15 degrees.