A General Definition of Residuals | Synapse