Perform brain imaging, split students into those with a strong math co-processor brain and those without. For those without, teach them math using logic rather than rote learning which is obvious to those with a strong math brain.
I really struggled with the rote path and it wasn't until I could see more of the "why" and where it applies to practical situations that it all started to click.