refactoring
py3 compatibility changes
py3 compatibility changes, and bug fix in parse_config
update remove_outliers
p3 compatibility changes
py3 compatibility changes