Cache Simulator & Optimized Matrix Transpose