Local structural variations inYBa2Cu3O7x