Renamed diag to kronecker.