Extract matrix from firebase and hook it up to matcher