The Phase Change Due to Oxygen Content in the LnBa2Cu3Oy Compound Systems (Ln=Tm, Gd, Sm)