When Morgan Scagliotti was growing up in Overland Park, Kan., she struggled mightily with math classes.