Arange elements in columns