implementing mgc functions from SPTK-3.7/bin/mgcep/_mgcep.c in python