Derivatives of the Procrustus Transformation with Applications