Generalized neutrino mixing from the atmospheric anomaly