Fix: getScalars function mismatch in CoordinateEncoder
Merge pull request #1458 from chetan51/issue-1456

Fix: getScalars function mismatch in CoordinateEncoder