DimDiv Revision after Declined without Prejudice.

1. Integrating new metrics
2. New null model
3. Cleaned until line 400