added descriptive doxygen comments for sample_from_gaussian