A cyber-physical system for surface roughness monitoring in end-milling