FIX MinMaxScaler bug.

Closes #1723.
Main fix is to replace a ``/`` by ``*``. Also renamed the variables to be a bit more clear and added a test.