Fixed edge data not calculating correctly
* Improved pixel data sampling
* Improved collision detection in 3D
Applied same 3D volume constraint in 2D
Fixed null pointers in the overlay