https://salt.pythonprogramminghelp.com/how-to-create-tests-for-nonlinearity-and-interaction/