Corrected erroneous mean extraction
Merge branch 'dev_active' of https://github.com/SimonStreicher/LoopRank into dev_active