principle of optical profile grinding machine