Recursive linear regression - NaN checking
ignore