Performance function calculation
Merge branch 'master' of https://github.com/SIMProject/SIM