Kinetic and mass mixing with three abelian groups