Improving learning part

Putting some def values in the default file
Revising the way the decision is made around the transition:
- for W2S, pick the latest moment we're sure subject is awake
- for S2W, pick the earliest moment we're sure subject is awake