Stylistic fixes

Ported over changes from scipy.io.idl: PEP8/stylistic changes, removed leftover warnings and unused variables