Added random_seed parameter to Model baseclass