Cnc slab polishing machine, detail head and tool