Effects of rotor extension and end termination on the field distribution inside and hollow iron rotors