ERR: corrected the bug due to which once any of the scale factors was set to...
ERR: corrected the bug due to which once any of the scale factors was set to 0, it was not possible to extend (by dragging) the widget in the direction with scale factor 0. This was due to the fact that it used the two face handles to decide the movement direction. Changed that to use any available non-zero direction vector. If all scale factors are 0, in that case the widget extends along the coordinate axes