Extending sign and polar decompositions to allow for both partial and full decompositions, and updating the relevant documentation.