Height controller design for laser cutting machine