Computation of current waveform in ferrite power inductors for application in buck-type converters