for(vector< vector<double> >::iterator measIt = meas->begin(); measIt != meas->end(); ++measIt)
computations[compid].err += pow( (*measIt)[ival] - computations[compid].val, 2 );
for(vector< vector<double> >::iterator measIt = meas->begin(); measIt != meas->end(); ++measIt)
computations[compid].err += pow( (*measIt)[ival] - computations[compid].val, 2 );