Automated-grinding-machine