re-indent replacing tabs with spaces

This is a possible fix for the Travis CI failures with rjw57#16. All I did is open coeffs.py and transform2d.py in vim and issue a ``:retab`` command. It fixes the test suite on Python 3 here.