Similarity comparisons with remembered and perceived magnitudes: Memory psychophysics and fundamental measurement