A Mathematical Functional Form Extractor