Robot Control near Singularity and Joint Limit Using a Continuous Task Transition Algorithm. (10th October 2013)