add git ignore
working on more ways to optimize matrix elements
matrix elements seems to work