Text this: Phase Distribution and Stresses in the Coating Deposited from Plasma