calc: simply parameters, remove '--key' option.
calc: simplify code, don't use key-compare module.