transformPARAFACloadings function

Transform PARAFAC loadings to an orthonormal basis. Note: this function only works for 3-way PARAFAC models.