Fix my bothed inverse computation

Ooops, gotta re-sit algebra 101... sorry!