Updated package to work with R version 3+, deSolve version 1.11