function of base in grinding machine