Fix: getScalars function mismatch in CoordinateEncoder

Fixes https://github.com/numenta/nupic/issues/1456#event-180526073.

@rhyolight