Removed tuning_curve_1d function

And just adding a bit of special-case code for 1D ensembles in
the tuning_curve function. I think this is nicer from the user
perspective, though the special casing for 1D makes the function
slightly less readable.