Expand arrays. Fixes #77

#77