A Distributed Method for Evaluating Properties of a Robot Formation