Renamed spinDuration and spinLoops parameters.

- Fixed bug with specifying 0 spinLoops.