public static class Decibel.PowersToDecibel
Maps magnitudes to decibel (log10(magnitude)*20).
Note that this implementation re-uses the array it returns. This means
that you need to Object.clone() the array should you want to use it
after map map(float)
was called again. It also means that instances should only be used from one thread.