Ensuring Product Quality with Inline and Offline Raman Spectroscopy