Remove initial empty matrix assignment to inv