Allow to select either X or Y direction of response func

This add a radio button that allow to select wether the analysis 
should be made along X or Y axis. 

Be carefull, it seem to work, but I might have forgotten some things that might be taken along X and not Y
like slope.. etc.

The graph does not refresh yet when you switch the value of the radio box.

Ping @tobetz