fix the error generate windowing out of the index of xcor in gsdffit.m