Squared error for 3D-Var, LBVKF and LBVKF+Random perturbations