mearged the individual time range in linregtests.py and added linreg back in functions.py (needed for linregtests)
didn't apply pep8 yet