DSP library in C