Add h field for initial mumag4 state generation