1 - Gui dialog for distance File
2 - grid use linespace and cover completely the input boundingBox + fix the getPointInCube accordingly, revert this commit if problem.