A projected entropy controller for transition matrix calculations