Accurate integration of surface profile data with quantitative error analysis