model_lhs function

Extract the left hand side of a model