reordered runs.m - deprecated some functions and cleaned up whitespace errors