Gravar-mail: Optimization of machining parameters to improve the surface quality