Calculation of the magnetization of the layered III-VI diluted magnetic semiconductor Ga1-xMnxS