Tidying up simulation code to allow fixed and floating point comparisons
Tidying up simulation code
Moved around more code
Increasing resolution improves passive example performance
About to map operations into integers
Bug narrowed down to state-update code