Implementation of Frequent-Direction algorithm for efficient matrix sketching [E. Liberty, SIGKDD, 2013]