build interaction matrix from two factor columns