combineDists: average a bunch of distance matrices