This is my EnKF class, minus the initialization. Here dt is the time step, Q is my process noise, N is the size of my ensemble, x is the ensemble mean, h is the observation