fixed a dimension error with under-determined problems removed IllegalStateException create a DenseRealMatrix when solving A.X = B