Initial commit, with work from python-data-analysis repo