Collection of common signal smoothing algorithms in C