Measurement of nonrigid freeform surfaces by coordinate measuring machine