Formant calcuration implementation