An algorithm of form deviation calculation in coordinate measurements of free-form surfaces of products