## Curve fitting with variable number of Gaussian curve

I have the data which appears like

And I decided to use three Gaussian curves to fit it.

(This code allows me to manipulate all three curves and put in best guesses for peak positions. Using these guesses, Mathematica wil…