made logistic data input matrices