add ability to use boundary conditions
Merge remote-tracking branch 'origin/master'