Gaussian method of main elements set for all OLS classes.