Text this: A new algorithm for kinematic program control of optical parts by grinding