Fix testnet.
Fix PoS staking calculations
Merge pull request #6 from deadpoets/testing

PoS Fixes