[bugfix] I accidentally broke logarithms. Oops...