Adding filterCoefData function.