Julia array parametrised by size instead of dimension