Refactor Wolfram Alpha Calculations