Generalisable 3D printing error detection and correction via multi-head neural networks | Synapse