Control of variable structure systems in the plane