An Improved Immersed Boundary Method For Atmospheric Boundary Layer Simulations Over Complex Terrain