getSingleFieldEdge workout

Have worked on it a bit more and think i found a very good compromise between accuracies and speed ... 
The best point is we have a point very near to each corner.
To be tried out