optimized multitaper.c