CHIRAL ALGEBRAS OF CLASS S AND MOORE-TACHIKAWA SYMPLECTIC VARIETIES