A singular value decomposition of a k-way array for a principal component analysis of multiway data, PTA-k