CNC vertical foam contour cutting machine