Minor bugs corrected.
restart feature
Demos and some updates in the algo

Signed-off-by: roliveros-ramos <ricardo.oliveros@gmail.com>