Computation of the elements of close eclipsing systems in the frequency-domain