HI,
The way you build the funciton will be discontinous at -2 and 2, and therefore will not work correctly. Maybe you could try a different funciton, such as the double side crystal ball function (see Crystal Ball function - Wikipedia and Fit using Double sided crystal ball function )
Lorenzo