fix setting of gain sign.
modify lentickleLock structure.
update published example.
Merge branch 'master' into gh-pages

Conflicts:
	lentickleEngine.m