Idempotent Matrices and Quadratic Forms in the General Linear Hypothesis