Small fix to allow for more than one "#define" in C++ code, necessary for example when using randn() and rand() in a single statement
Make setting state variables from arrays work again in standalone, even though it is somewhat broken at the moment (using an array of the wrong size might make the code crash, etc.)