Finished .translate command, made minor change to .calc command.