Theoretical study of the electronic properties of 2D materials