Added EXPORT macro to linear solver functions. Grouped comments and made them readable by doxygen.