Calculate contamination terms for all the filters