[SYSTEMDS-2756] Improved scale built-in function
[SYSTEMDS-2756] Improved scale built-in function

Closes #1123.

apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml