made gala-train print images of the top of each stack
added typechecking to evaluate.relabel_from_one
created contact feature