improve precision in mdct.c using double for some temporaries