Added functionality to handle weighted data.
Added title and authors to the reference for the effective number of samples.
Fixed bug generating a numpy array of weighted means using PyPy.

Obtaining nvariables in find_optimal_block was failing.
Merge pull request #1 from tpoole/master

Added functionality to handle weighted data.