Optical link based read out system for medipix2 quad x-ray detector