Optimization of kinematic errors model used in virtual CMM systems