density of states in 2d k space