Code for paper Capacity achieving quantizer design for multiple input-multiple output thresholding channels