Mathematical studies of liquid crystals