how do I change the base of log instead of it being 10?
loga(x) = log10(x) / log10(a)
or
loga(x) = ln(x) / ln(a)