Doc update
Fixed bug with nan or inf weights
Improved sampling code and moved to sampling.py
Some clean-up
Added pair sampling, changed return of sampling functions to index list.
Added (hacky) patch overlap measures.
Added metric allignment with scipy.optimize.leastsq.