Chi-Squared Distribution of RSS