Fixed a few bugs in the Schira model inverse algorithm.