Magnetic trapping of NH molecules with 20 s lifetimes