Calculating the set of orders of elements in the finite linear groups