perf fix from Oscar, for issue #633

"Refactored formerly private getFieldInternal(dim, idx) to be public
getField(dim, idx) since it can be useful to external code when type
desired matches the native stored type. This avoids calling
getFieldAs() unnecessarily in time-critical app since type is already
known."