Adds equivalent underlying graph convenience class.
Fixes problem with the slow mi check where the wrong matrix was being checked if it was finite
Adds new testcase