how to find defects in grinding machines in industries