added bi_generate_dataset, replaced bi_libbi by bi_wrapper