Magnetic trapping and Zeeman relaxation of imidogen (NH X 3