Improved version of mfcalc with gnu-flex.