Modified Jacobi polynomial and its application to expansions of disturbing functions.