Updating the function to print out the correct results and also updating the variables inside my already created formulas.