normalization added again to D matrix