A Likelihood Method To Estimate/Detect Gene Flow And A Distance Method To Estimate Species Trees In The Presence Of Gene Flow