test case for R<-1 in scipy.stats.linregress and fix in the code

Code for preventing R to be lower than -1.0 due to accumulation of numerical error scipy.stats.linregress and a test-case (tested under debian7, python2.7, amd64 and probably dependent on the compiler as well)