added medd function
merge fix

Merge branch 'master' of https://github.com/rparrish/RPamisc

Conflicts:
	README.md