First version of boundcond

Already with some debug messages
Changed boundcond signature

Now uses the class' internal af
Merge pull request #2 from Denaun/boundcond

Boundcond