get.P function

Method to compute the value of PP