change a bunch of interfaces to Distance instead of int and use the latest version of TF-Bindings