adding max entropy calculation for #271; am currently working on returning all possible paths