In order to maintain safe and efficient operations, railway systems periodically use large, special purpose, trackbound grinding machines to re-establish the desired profiles of rails, and to remove surface damage that has occurred under operating conditions. The accuracy of the grinding process is typically measured using quality indices to compare the resulting rail profile to its target shape.