A finite reluctance approach to electrical machine modeling and simulation: Magnetic network-based field solutions in MatLab environment