pa function

Converting probability of occurrence to Presence-absence