use GetArray(0) instead of GetScalars()
added comment about arrays in header file