I shouldn't worry too much about it either. The grades you got in high school math (when there are plenty of distractions about!) bear little relevance when you can demonstrate the ability to pass ATPL exams. The difference with those exams is that you can see the relevance and you'll be a lot more motivated. Best of luck with it.