added functions to compute I and D statistics
update for compatibility with SciPy 0.14.0
added support for I and D statisics
fixed typo
merged branches