hooked up the random graph generation with the matlab evaluation