Removal of deprecated call in calculate.sh

I have some git issues apparently. I am not sure why though, I had synced my fork before making the changes. Any hint is welcome :-) .