faster training likelihood works
added has_data to parallel