Fix O(N^2) bug #106 in old_pymbar.py