Added calc to eval function it can now be used in if statements.