Weiszfeld's algorithm for finding the geometric median