Solution of linear equations by Cramer's rule