Researchers discover new method to measure how photocurrents flow in a 2D material