Lua Utility Functions

Change of base formula for math.log() expressions:

local function log_base(base, expression)
	return math.log(expression) / math.log(base)
end