Self Adapting Software for Numerical Linear Algebra and LAPACK for Clusters