Automated Empirical Optimization of Software and the ATLAS Project