added calc-lengths.py
analysis makefile and notebook