Added status types to distmatrix