Removed duplicate functions.
Trying to make this more deterministic, no unreported errors
can't assume layout should return to matrix(1)
Merge pull request #111 from lawinslow/master

Fixing summarize_sim