add SVD algorithm for k = 2