Changed array syntax to julia v0.4.

This removes depreciation warnings.