Pattern Depen­dent Modeling for CMP Optimization and Control