Use median income estimates, not mean. Fixes #36