Revert "simplify morph"

This reverts commit 1a824bec1f9af533711d61aaa44045c23125c3ac.
morph: only delete temporary files when necessary
test: allow variability in image statistics