cosmo dim transpose hdr

function ds = cosmo_dim_transpose(ds, dim_labels, target_dim, target_pos)