restructuring
more restructuring
tutorial xcorr example
updated names
fixed bug when flattening graph
complete