Calculation of Electromagnetic Field Problems in Large Electrical Machines Using the Finite Element Method