First-Principles and Wannier-Function-Based Study of Two-Dimensional Electronic Systems