Intermediate commit. Working on matrix inverse functionality.