fixed a bug in mineCycle
Merge pull request #106 from LandonVance/mcfix

fixed a bug in mineCycle