Researchers refine method for detecting quantum entanglement