Add Module checks for null algorithm.
Hooking up TDCS algo
Uncomment code
some minor updates