Restored the correct H(z) portion of w(theta)