Fixed bugs in frobenius_powers functions and made notes in docs about
impossible inverses.