Big commit for new machine
Parse pattern directly into array
Use rotating buffer for calibration check