MathUtils - added log of variable base