Fixed so that attenuation works properly with the new motor range of the silicon motors and so that the detector position is read properly again