Quadratic Forms and Their Classification by Means of Invariant-Factors