Understanding The Limitations Of Mathematical Reasoning In Large Language Models