overhead testing and matlab scripts for graphs