Handle variable-sized arrays. Fixes #261
Merge pull request #262 from trainman419/fix_261

Handle variable-sized arrays. Fixes #261