How is reward calcualted for Purse staking?

For the original question: