Update simulation code for new data

The previous simulation code was outdated. With the new (and improved)
data returned by the YFFParser, updated simulation code to be
compatible. Improved data structures, but there remains more work to do.