Preliminary machinery for interferometry simulations.

Does not quite work properly yet.