add somethings to distance matrics -- nate please dont kill me =(