makePiFuns function

Create functions to compute multinomial cell probabilities