Removed stale files, added trivial test, fixed deprecated distance