initial version of TuningCurves()

only 1D implemented so far