Add compute_variance parameter to slow version of stats function.
Correct bincount return type in documentation (fixes #3).