Merge in distance_transfrom
Move header to correct place.
Clenup distance_transform a bit.
Make distance_transform compile
Added lazy ImagePromise to distance transform and some docs.