Make DistanceMatrixElementStatus an enum.

NOTE: breaks binary compatability.