Adding field and some boundary detection.
Comments and todo.
Merging work from circle-bound branch.