Commented and adjusted variables in matrix logic as well as fixed the answer checking