Fix MinMaxScaler for 1D inputs.

Now MinMaxScaler chokes on 1D input arrays (only one feature).

This patches it the same way as already done for the StandardScaler.