This is an implementation of the EnKF and EnKS with a stochastic scalar model. It was used to create the examples in Evensen 2003, and includes the estimation of model errors and biases.