Added docstrings and made more Pythonic `find_common_measurements`