Added the macros. I need to find a way to be able to pass in macros from user input as a JSON object into the calculateMacros function.