Added hEuclidian to runStuff.
Fixed issue with edges in determining prior.  Fixed "plus" so that it accounts for the center pixel as authors described.