Measurements of the anisotropic mass of magnons confined in a harmonic trap in superfluid 3He-B