Update fields.lua

Variable points distance to make field edge detection more accurate in curves.