Update main.cpp

Simplified GetProofOfStakeReward() and removed unused parameters
Merge pull request #1 from ColorfulGecko/patch-1

Update main.cpp