Add set_calc_mode with tests and docs
Merge pull request #92 from renshawbay/calcMode

Add set_calc_mode() with tests and docs.