Added method to get the shortest vectors between two sets of coordinates