Design , implementation and first measurements with the Medipix 2-MXR detector at the Compact Muon Solenoid experiment