BUG: fix py3k issue in signal.spectral
MAINT: signal.spectral: fix integer division and some formatting stuff.