Simulations appear to be working okay.
Important fix to KTTimeSeriesReal's initialization of values.
Minor changes, changing post-fix operator++ into prefix operators.