make use of precomputed kernel when estimating type I and II errors
Merge pull request #896 from karlnapf/master

minor changes to example