Added support for synthetic datasets.
Changed indentation in some lines