Remove unused and commented import.
Fixing pep8 warnings and errors.
Generation of inhomogeneous spike trains.