getformula function

Retrieve a formula object from a model object