The use of a position-sensitive solid state detector to measure properties of a magnetic spectrometer