added matrix linear solution to ematrix