LinearSolver base, direct solver implementation added (log-det)