removed unused orderedset
remove unused stuff / cleanup
added transpose option to save_csv