fixes initialization of model
speed up unit tests
add unittests for forest::cut()
fix a few typos in comments