In-process quality analysis of laser cutting