Updated extract.py so that newlines variable is a list of strings rather than
one long string
Merge pull request #2 from garyForeman/errcalc_rewrite

Updated extract.py