matrix inverse assignment