Simultaneous Optimal Estimation of Roughness and Minor Loss Coefficients in a Pipeline