Matrix Approximation Algorithms Implementation