A statistical model for tensor PCA