add solving LAE and SLAE