Scaling Limits of Algorithms on Large Matrices