Optical-linear-encoders