model_get_assign function

Get the assign attribute of model matrix of a model