rename helper function GetIdentityMatrix to dGetIndentityMatrix