Corrected bug.
Added check that cube is available in select_near_corners().
Merge branch 'master' of github.com:rafewenger/sharpiso