Changed SymbolRef object format. Added Formula object and generalize function to replace user input with reference keywords.