testing bad regression coefficient (leading to NaN stderr)
fix a bug making stderr NaN when R<-1 due to rounding
errors in scipy.stats.linregress