PainIndex function

Pain index of the return distribution