Personally, I have never had problems with concentrating, come to think of it. It's the opposite for me, like back in high school, my crush on a girl helped me to achieve good grades when I was sitting behind or next to her. I associated mathematic formulas and equations with her red hair.
Same applies to me even now, like some people think you need great concentration when you play videogames, but my results stay the same no matter how much there's audience or commenting around me. So, all in all, I'm not the best person to give you advice, but I say you should perhaps somehow find a way to channel your energy the other way around, like I do.