Error functions compute network mean error for a cycle.