Modified dB() convert, since apparently log10 is broken in python ;-)