Updated Discrete Matrix.zip