extract_vars function

Extract Variables from a Formula