Added support for Dirichlet conditions (hack)