Modified function recognising cache size and type, added L2 sizes. Changed dld to d_ld etc.