Simplex class