upgrade calc to use sqrt, log, ln