Hysteresis Modeling of Nanocrystalline NdFeB Magnets