fixed a bug in loessc2.c