hmr method for gas flux analysis from http://cran.r-project.org/web/packages/HMR/index.html