Add a Transform interface to distance -- compares each input against a fixed gallery