who first catalogued the positions and magnitudes of the stars to detect such changes.