Distilling Mathematical Reasoning Capabilities into Small Language Models