MAJOR CHANGES... [AGAIN...... :-O]
This is finally the working version of CHEON and TESKE DL algorithms....
Although not the most optimal...But everything is working... BUT TOOOOOOOOOOOOOOOOOOOO SLOW