Fix algebraic operations on formulas
Add code to select from datafrmaes and dictionaries