switched the code so that the stepsize is updated before the covariance matrix as in the newer version of the algo the C depends on h_sigma which depends on p_sigma