The formal disciplinary value of advanced mathematical study: a focus on spatial skills