ab_initio.py fixed so that it reads from *.out files