added linear mixing parameter for ss and ve and warning if scf fails