Improve the initial step size choice of the sw ls
Merge remote-tracking branch 'origin'
Fix a mistake in the theta computation