pecp function

Distribution function