Defined  direction change probability

Change direction change probability from variable to definition.
Merge branch 'Dev'
Clean up