I went through this transition in college. I was bad at math, historically, and after 2-3 years of obsessing over programming, math finally revealed itself as something mechanical and conquerable.
I'm NOT a math genius (or any kind of genius), but it went from being unapproachable to being totally learnable.