FPGA implementation of harmonic currents identification algorithms using neural networks