Ball to surface collision check

Added the collision check for balls (radius method) and surfaces
(lines).