added elementwise entr