Fixing array 5.4 syntax

Minor formatting fixes and fixed a bug using shorthand syntax breaking 5.3 compatability
Merge pull request #1 from MaxVandervelde/master

Fixing array 5.4 syntax