Updated solving linear equations