The Effects of Dispersal on Macroecological Patterns