add function docstrings, cleaned up unused variables, made routines to test a paramter
add function docstrings, cleaned up unused variables, made routines to test a paramter

georgetown-analytics/envirohealth,georgetown-analytics/envirohealth