Update main.cpp

Simplify GetProofOfStakeReward() and remove unused parameters