Functions Operating on Positive Semidefinite Quaternionic Matrices