Bugfix for calc_shares to work under R 3.1.0
merge
Merge branch 'master' of github.com:mbannert/gateveys2