kikuchi 3-D polyline error checking