First commit. Initial version of matrix inverse calculation and storage.