Calc command implementation (Wolfram API)