http://stackoverflow.com/questions/20741484/calculating-distance-between-atoms-by-atomic-coordinates?rq=1