added example files and parallel ensemble function