Self Consistent Models for the Emissive Regions of Quasars and Seyfert Nuclei