Merged drdanz pull request; Moved implementations of BLAS and LAPACK template routines to a separate file;