Error Bounds for Flow Matching Methods