Development and verification of a library of future fitting algorithms for CMMs