changed the singular value to in terms of (z1+z2)/2 instead of z1