pt wrappers fixed
optional step calculation in pt fixed
pyflakes updated