Synfit working for one varying parameter.

It is not working for two parameters. The array the store values
is looking strange.

Things to implement:

* Fix the bug mentioned above
* plot spectra
* Save the store value
* Implement mask/windws