function d2 = data_transform_lda2(data, flag_sphere=1, flag_modified_s_b=0, min_lds=1) Inputs: data: structure flag_sphere: see fisher_ld() flag_modified_s_b: see calculate_scatters()