Convert a flat array into a simplicial-complex-style indexed mesh, without optimisation.