6 Fundamentals of continuous manufacturing PAT: sampling, analysis, and automation