Are you turning any of your measure arguments to Variables? That is a requirement in order to use the algorithms.