random_dictionary_learning_data: Shortened code lines and clarified ambiguous sections.