get_synthetic_cases_from_matrix function

Create synthetic cases for balancing training data