Latex Extractor working program; Major deletions; code cleanup