use 1.0 rather than 1 in BLAS/LAPACK patterns
add linear regression numeric test