update .gitignore
Add an infix macro

The infix macro replaces and factors out the commanilities between the symbolic algebra functions.