Rewrite Distance initializer so it can take lists of quantities.