added dirichletconstrinats class from fem-poisson module
modify the copied dirichlet constraints class for our use