get.expression function

Get the expression of a probability object