The title character of “Mr. Cosmos” is my fifth-grade science teacher from Newbury Elementary School in Massachusetts—a man so wonderful he would leap on his desk and do interpretive dances …