improvements to TAPModel
Merge branch 'python' of https://github.com/diging/tethne into python