Distribution of Quadratic Forms