updated function "RescaleDataRange" to be compatible with the new ColorA...

...rrayName instead of old ColorAttributeType