Сalculating the inverse matrix by modified method of Gram - Schmidt