Fixing Casting error on input for Math.RemapRange

Fixes http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-2383
Merge pull request #1341 from sharadkjaiswal/070Alpha

Fixing Casting error on input for Math.RemapRange