Updated PyDev settings for refactor
Ensured step argument is a float
Rearranged code flow