ForestModel function

Class that defines and samples a forest model