Update stats.py

Remove redundancy in Spearman distance (speed up computation by a factor > 2)