A computational approach to studying monomer selectivity towards the template in an imprinted polymer