Initial commit, with binatr matrix logic.