Advanced Process Control And Optimal Sampling In Semiconductor Manufacturing