A new mixture model for three-way data