updating previous work before moving to diSimplex4haskell