Use log10 (double precision) instead of log10f. Fixes bug in spectral flatness