Analysis of the inverse problem for determining nematic liquid crystal director profiles from optical measurements using singular value decomposition