Simplex2 class