added use_only_three_bpms_for_beta_from_phase flag to
phase_and_beta_for_non_zero_dpp() method