Minimum-Error Splitting Algorithm for a Dual Layer LCD Display—Part I: Background and Theory