Update reinvest.rb

The formula used to determine the amount of money to reinvest, does not take the fee in consideration. The fee is 0.02%. I've tried it myself, and the 0.997 seems to work fine. Please update your heroku app. 

Further comments and discussions are welcome.