Updated extrapolate_log.py Xsection code