expose getVoxelEnclosingPoint() to JS, and clean up JS version of findRayIntersection()