Corrected invalid types being used in library file that implements the mixture/ideal solution API Added documentation for generic functions