Updated row extractor to use simpel linear regression.