Redesign of functions
GaussianFit function working, almost!