Separated sigmoid calcs from mmovment stuff. Couple of opts in movement.
The IO operations are now implemented