Text this: Local optimality, stability and repeatability in redundancy resolution for robotic manipulators /