Add random walker code in anticipation of integrating 3d segmentation
from seeds.