The Effect of The Space Charge On The Properties of An Inhomogeneous Pyroelectric Ceramic