tracking down a random bug that meant variables were getting incorrectly flagged as StateType. Firstly need to ensure the variable type is initialised, so added a new undefined variable type; that highlighted that target variables will show up multiple times in the initialisation for state variables (with degree > 0), so need to make sure that they are not flagged multiple times; that seems to work and the tests build and pass reliably on linux and mac, release and debug
tracking down a random bug that meant variables were getting incorrectly flagged as StateType. Firstly need to ensure the variable type is initialised, so added a new undefined variable type; that highlighted that target variables will show up multiple times in the initialisation for state variables (with degree > 0), so need to make sure that they are not flagged multiple times; that seems to work and the tests build and pass reliably on linux and mac, release and debug

nickerso/csim,nickerso/csim-v2,nickerso/csim,nickerso/csim-v2,nickerso/csim-v2,nickerso/csim