Gaines , who has a master 's degree in sociology and psychology , won just 17 races in her first three years , but has steadily built up a reputation as one of the more skilled trainers on the Southern California circuit .