function y = largestEigenvalue(m, seed)
RandStream.setDefaultStream(RandStream('mt19937ar','seed',seed));
y = max(eig(rand(m)));