functions for calculating behavioral performance
do not use length(find(..)) when sum(..)
Merge pull request #3 from inanhkn/fori

functions for calculating behavioral performance