clean up and update the distance matrix method:
clean up and update the distance matrix method:

jakevdp/megaman,jakevdp/Mmani,jakevdp/Mmani,jmcq89/megaman,mmp2/megaman,jakevdp/megaman,jakevdp/megaman,jakevdp/megaman,jmcq89/megaman,mmp2/megaman,mmp2/megaman,jmcq89/megaman,mmp2/megaman,jakevdp/Mmani,jmcq89/megaman,jakevdp/Mmani