added plots for the residuals in x and y and fit function
added fit function for the time distro with the gaus parameters fixed from a previos fit
added plots on the residuals