#include <stdio.h>
#include <stdlib.h>
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/correl.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gstat.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "correl.h"
-#include "gmx_ana.h"
-#include "gromacs/utility/fatalerror.h"
-
-#include "gromacs/utility/futil.h"
#include "gromacs/math/gmxcomplex.h"
#include "gromacs/math/utilities.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* Determines at which point in the array the fit should start */
int calc_nbegin(int nx, real x[], real tbegin)