Text this: Improvement of singularity avoidance for three dimensional planar manipulators by increasing their degrees of freedom