'Word Problems’: Popular, Literary, and Educational Discourses on Mathematics in the Pre-Civil War United States