Director deformation of a twisted chiral nematic liquid crystal cell with weak anchoring boundaries.