Added notes to the markdown on selecting Q. The functions to get Q, the node states, and simulation diagnostics are in functions.R