forgot to commit lattice_build.py
update ipython notebook as the documentation