Changed normalization of error.
Set T to a zero-sized vector.

This significantly reduces the size of the compiled code for the parameter setting that does not require T.
Added initialization for all states to avoid a warning.
Added missing citation
Verified that Rgg is positive.
Merge branch 'master' into demandResponse
Added sampler to input.
Removed the pre() operator which is not allowed in an algorithm section.