Fixed a number of issues with immunity swap file generation

Immunity swap file generator now uses great circle distance
instead of euclidean distance based on lat-longs, and it
returns normalized probabilities, instead of requiring
post-processing.