posterior function

Calculate posterior for one item given score, difficulty and prior