Arithmetic Visitor constants and functions initialization migrated into __construct

To avoid bugs with addConstant and addFunction methods.